//
//  RootViewController.h
//  ShoppingCompare
//
//  Created by Wenjie on 11-5-12.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ItemList.h"

@class Search;

// Content value --------------------------------------
NSString* taobaoKey;
NSString* taobaoSecret;
NSString* taobaoURL;

// Search option --------------------------------------
BOOL isAdv;
BOOL inTaobao;
NSString* key;
BOOL trans;
long minP;
long maxP;
long order;
long pageNo;
long total;

// Search rsult --------------------------------------
NSData* resultData;
//ItemList* item;
NSMutableArray *items;
NSMutableArray *listItems;

@interface RootViewController : UIViewController {
	UIWindow *window;
@public Search* search;
}

@end
